{% load i18n %} {% load menus %} {% if user.is_authenticated %} {{ user }} {% with user.notification_set.unread.count as notification_count %} {{ notification_count }} {% endwith %} {% render_menu "user_area_logged" %} {% else %} {% render_menu "user_area_not_logged" %} {% endif %}